package com.growthgate.bootcommon.controller;

import com.growthgate.bootcommon.common.base.BaseEntityController;
import com.growthgate.bootcommon.entity.Fruit;
import com.growthgate.bootcommon.service.FruitService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* 水果控制器
*
* @author GrowthGate
* @date 2020/3/4
*/
@Api(tags = "水果")
@RestController
@RequestMapping("/fruit")
public class FruitController extends BaseEntityController<Fruit, FruitService> {

    @Autowired
    public FruitController(FruitService service) {
        super(service);
    }

}